home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / sb_event.zip / SBEVENT.DOC < prev    next >
Text File  |  1990-07-29  |  5KB  |  116 lines

  1. 07/29/90
  2. Silver Bullet Sysop;
  3.  
  4. Please forgive the disarray of these docs I have been developing this timed
  5. event function for some time now and feel that it is time for you to take alook
  6. at it and tell me what you think. Even though it can use some polish I
  7. felt it was such a needed item for the bullet I decided to ask you to take
  8. it if you want and use it for your timed events. (Backing up files,creating
  9. bulletins, creating the allfiles.txt and zip files)
  10.  
  11. I often thought it was quite strange that we are among the most powerful
  12. PC programers and yet when you call are boards you can't even get an up
  13. to-date compressed ALLFILES list from most of the bullets. My personal
  14. solution was this little EVENT FUNCTION that you can add to your main
  15. program buy simply renaming your SAVER FUNCTION found in the SBMISC.PRG
  16. to SAVER_ and linking in SB_EVENT.OBJ along side of whereever you are
  17. linking the SBMISC.PRG now. I have included my ALINK .LNK file as an
  18. example.
  19.  
  20. The Bullet is realy quit good but we as programers must help
  21. complete it with more GOODIES and one of them of course is an event
  22. timer and implementaion device. Please give me some feed back on this.
  23.  
  24. The editor will be done soon.. But for now use DBU just be sure to
  25. pack the event database file because it looks for a RECNO().
  26.  
  27. Bob
  28.  
  29. * *********************************************************************
  30. * NOTE!
  31. * In order to use this FUNCTION OBJ
  32. *
  33. * 1. You MUST use screen saver
  34. * 2. You MUST be able to compile your source code.
  35. *
  36. * The SCREEN SAVER function MUST be used in order for this function
  37. * to work at all. In other words if you have a "0" in the screen save
  38. * field this function will NOT work as designed. I can't imagine anyone
  39. * not using it but I'm sure there is someone out there who isn't.
  40. * **********************************************************************
  41. * The database field EVENT_TIME is (5 numeric + 2 decimals)
  42. *  total of 7 + 1 = 8 for the decimal (example 86000.00) These are Seconds
  43. * (0.00) = 12:00 AM as well as (86400.00)=24:00 hours (thats the MAX allowed)
  44. * (86340.00)= 11:59 PM
  45. *
  46. * The variable LAST_EVENT is a Date field to compare to
  47. *
  48. * This function checks for the CURRENT EVENT TIME, MAX WAIT TIME, DATE.
  49. * Also it adds EV_LAPSE to the event time so if someone is online at
  50. * the time the event is supposed to take place it will execute as soon
  51. * as the screen saver kicks in, if you need a longer checking period
  52. * increase the EV_LAPSE Seconds to whatever you want, up to 86400.
  53. *
  54. * You must add 3 new fields to the SBPARMS.dbf as follows ....
  55. *
  56. * EVENT_TIME   N   8  (NUMERIC)  <-- Enter data in seconds.(#####.##)
  57. *                                    Don't forget the decimal
  58. *
  59. * LAST_EVENT   D   8  (DATE)     <-- Enter last date an event took place.
  60. *                                    This field will be automaticly
  61. *                                    updated as a new event takes place.
  62. *
  63. * EV_LAPSE    N    8  (NUMERIC)  <-- Enter data in seconds.(#####.##)
  64. *                                    Don't forget the decimal.
  65.  
  66. The forth comming edit program will deal in normal time clicks of 15:30 hrs etc
  67.  
  68.  
  69. In the SB_EVENT.DBF include the command to call the top ten uploaders
  70. file I sent with this pkg.
  71.  
  72. :
  73. To get going:
  74. (A)
  75. 1.........Add the fields to SBPARMS as above.
  76. 2.........Leave the EVENT_TIME blank.   (This would normaly mean 12 Midnite)
  77. 3.........Put yesterdays date in LAST_EVENT.
  78. 4.........Put 86400.00 in EV_LAPSE
  79.  
  80. (B)
  81. Rename FUNCTION SAVER found in the MISC.prg to " FUNCTION SAVER_"
  82.  
  83. (C)
  84. CHANGE YOUR .LNK FILE TO INCLUDE SB_EVENT.OBJ IN THE SAME MODULE
  85. AS THE MISC.PRG IS IN.
  86.  
  87. (D)
  88. Add in the 1 line of code for the "menu_time()" as described in the
  89. BUL_MOD.PRG.
  90.  
  91. (E)
  92. ZIP UP OR MOVE YOUR CURRENT SBULLET.EXE & OVL FILES FOR SAFE KEEPING.
  93.  
  94. And your ready to go..
  95.  
  96. The source will be released ASAP after I document it and you have
  97. tested and reported anything you would like to see improved or
  98. changed. TO the Orlando Bullet (407) 277-2007
  99.  
  100. I use ALINK overlay managment and thought I'd comment on it as I
  101. went along for a friend whom I have sent these files to as well,
  102. so you will run into a few comments that make no sense unless use
  103. also use ALINK.. (I hope RT-LINK is better or I'm getting BLINKER).
  104.  
  105. PLEASE:
  106. If at all possible let me know how it goes...
  107.  
  108.  
  109. Best Wishes and GOOD-BYE from The SUNSHINE STATE
  110.  
  111. Bob Morgan
  112. The Orlando Bullet
  113. (407) 277-2007
  114.  
  115.  
  116.